open-with: add misc utility API to the dialog
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 16 Nov 2010 17:02:29 +0000 (18:02 +0100)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 23 Nov 2010 15:51:38 +0000 (16:51 +0100)
commitaccb766db2658b0316d3e68a875762bfec442581
treeeb5592417872db6fe2e805f8cdaee3d158e7ff6b
parenta8cf63cc84ce119b101a1542e3652ccc52c56580
open-with: add misc utility API to the dialog

- _set/get_show_other_applications() is a way to only display
  recommended applications in the dialog
- _set/get_show_set_as_default_button() is a way to control the
  "Remember this application" checkbox

We also get rid of he "application-selected" signal, in favour of a
_get_selected_application() API inspired by GtkFileChooser.
gtk/gtkopenwithdialog.c
gtk/gtkopenwithdialog.h